/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   popenex.h
 * Author: Administrator
 *
 * Created on 2018年5月8日, 上午9:41
 */

#ifndef PUBLICPOPEN_H
#    define PUBLICPOPEN_H
#ifndef __MINGW32__
//打开通道
FILE *PublicPopen(const char *cmdstring, const char *type,pid_t*pid);
//关闭通道
int PublicPclose(FILE *fp,pid_t pid);
//离开关闭
int PublicPcloseShutdown(FILE *fp,pid_t pid);
#endif
#endif /* POPENEX_H */

